package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 陪玩直播大厅(Room)实体类
 *
 * @author makejava
 * @since 2025-05-30 12:56:44
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Room implements Serializable {
    private static final long serialVersionUID = 909559315752318424L;
    /**
     * 陪玩大厅
     */
    private Integer roomId;
    /**
     * 大厅名称
     */
    private String roomName;
    /**
     * 大厅所属人
     */
    private Integer roomOwnerCustomer;
    /**
     * 大厅大类
     */
    private Integer roomCategoryL1;
    /**
     * 大厅小类
     */
    private Integer roomCategoryL2;
    /**
     * 大厅禁言状态 0禁止 1正常
     */
    private Integer roomSpeechStatus;
    /**
     * 大厅公告
     */
    private String roomNotice;
    /**
     * 大厅推荐 1正常 2首页推荐
     */
    private Integer roomPush;
    /**
     * 大厅开启状态 0禁止 1正常
     */
    private Integer roomOpenStatus;

    public Room(Integer roomOwnerCustomer, Integer roomPush) {
        this.roomOwnerCustomer = roomOwnerCustomer;
        this.roomPush = roomPush;
    }

    public Room(Integer roomSpeechStatus, Integer roomPush, Integer roomOpenStatus) {
        this.roomSpeechStatus = roomSpeechStatus;
        this.roomPush = roomPush;
        this.roomOpenStatus = roomOpenStatus;
    }

    public Room(Integer roomId, String roomName, Integer roomOwnerCustomer) {
        this.roomId = roomId;
        this.roomName = roomName;
        this.roomOwnerCustomer = roomOwnerCustomer;
    }

    public Room(Integer roomId) {
        this.roomId = roomId;
    }
}

